package com.sxfq.loansupermarket.backsystem.modular.basicData.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.PointRewordInfo;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.SearchPointRewordInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 *
 * @author py
 * @Date 2019年2月19日23:15:54
 */
public interface PointRewordService {
    List<PointRewordInfo> selectPageListByQueryGetMap(Page<PointRewordInfo> page, SearchPointRewordInfo info);

    int getQueryPagesPointCount(Page<PointRewordInfo> page, SearchPointRewordInfo searchTheInfo);

    PointRewordInfo selectOneById(String id);

    int insert(PointRewordInfo info);

    void delete(String id);

    int update(PointRewordInfo info);

    int updatePoint(PointRewordInfo info);

    String uploadPoint(MultipartFile picture,String cri);

    String upLoadProdcutTwo(MultipartFile picture,String cri);

    String updatePoint(MultipartFile picture,String cri);

    List<Map<String,Object>> list();
}
